﻿namespace HRM.CORE.REPORT
{
    using APP.HELPER.Utils.Security;
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using HRM.CORE;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Drawing.Printing;

    public class rptC68aHD : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private HRM_PAYINSURANCE_C68AHD cls;
        private IContainer components;
        private DetailBand Detail;
        private GroupHeaderBand GroupHeader1;
        private int m_Index;
        private int m_Order;
        private Guid m_PayInsuranceTableListID;
        private ReportFooterBand ReportFooter;
        private ReportHeaderBand ReportHeader;
        private TopMarginBand TopMargin;
        private XRLabel txtBankAccount;
        private XRLabel txtCompany;
        private XRLabel txtCompanyCode;
        private XRTableCell txtCondition;
        private XRLabel txtCourseMonthYear;
        private XRTableCell txtDescription;
        private XRTableCell txtEmployeeName;
        private XRTableCell txtFromDate;
        private XRTableCell txtHomeAbsent;
        private XRTableCell txtMoney;
        private XRLabel txtNumberEmployee;
        private XRTableCell txtOrder;
        private XRTableCell txtProgressAbsent;
        private XRTableCell txtPublicAbsent;
        private XRTableCell txtSocialInsuranceCode;
        private XRTableCell txtTime;
        private XRTableCell txtToDate;
        private XRLabel txtWage;
        private XRLabel xrLabel1;
        private XRLabel xrLabel10;
        private XRLabel xrLabel11;
        private XRLabel xrLabel12;
        private XRLabel xrLabel13;
        private XRLabel xrLabel14;
        private XRLabel xrLabel18;
        private XRLabel xrLabel19;
        private XRLabel xrLabel20;
        private XRLabel xrLabel22;
        private XRLabel xrLabel23;
        private XRLabel xrLabel32;
        private XRLabel xrLabel4;
        private XRLabel xrLabel6;
        private XRLabel xrLabel7;
        private XRLabel xrLabel8;
        private XRLabel xrLabel9;
        private XRTable xrTable1;
        private XRTable xrTable2;
        private XRTable xrTable3;
        private XRTable xrTable4;
        private XRTableCell xrTableCell1;
        private XRTableCell xrTableCell10;
        private XRTableCell xrTableCell11;
        private XRTableCell xrTableCell14;
        private XRTableCell xrTableCell15;
        private XRTableCell xrTableCell16;
        private XRTableCell xrTableCell17;
        private XRTableCell xrTableCell18;
        private XRTableCell xrTableCell19;
        private XRTableCell xrTableCell2;
        private XRTableCell xrTableCell20;
        private XRTableCell xrTableCell21;
        private XRTableCell xrTableCell22;
        private XRTableCell xrTableCell23;
        private XRTableCell xrTableCell24;
        private XRTableCell xrTableCell25;
        private XRTableCell xrTableCell26;
        private XRTableCell xrTableCell27;
        private XRTableCell xrTableCell28;
        private XRTableCell xrTableCell29;
        private XRTableCell xrTableCell3;
        private XRTableCell xrTableCell30;
        private XRTableCell xrTableCell31;
        private XRTableCell xrTableCell32;
        private XRTableCell xrTableCell33;
        private XRTableCell xrTableCell34;
        private XRTableCell xrTableCell35;
        private XRTableCell xrTableCell36;
        private XRTableCell xrTableCell4;
        private XRTableCell xrTableCell5;
        private XRTableCell xrTableCell50;
        private XRTableCell xrTableCell51;
        private XRTableCell xrTableCell6;
        private XRTableCell xrTableCell7;
        private XRTableCell xrTableCell8;
        private XRTableCell xrTableCell9;
        private XRTableRow xrTableRow1;
        private XRTableRow xrTableRow2;
        private XRTableRow xrTableRow3;
        private XRTableRow xrTableRow4;
        private XRTableRow xrTableRow5;
        private XRTableRow xrTableRow6;

        public rptC68aHD()
        {
            this.components = null;
            this.m_Index = 0;
            this.m_PayInsuranceTableListID = Guid.Empty;
            this.cls = new HRM_PAYINSURANCE_C68AHD();
            this.m_Order = 0;
            this.InitializeComponent();
        }

        public rptC68aHD(Guid PayInsuranceTableListID)
        {
            this.components = null;
            this.m_Index = 0;
            this.m_PayInsuranceTableListID = Guid.Empty;
            this.cls = new HRM_PAYINSURANCE_C68AHD();
            this.m_Order = 0;
            this.InitializeComponent();
            this.m_PayInsuranceTableListID = PayInsuranceTableListID;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.Detail = new DetailBand();
            this.xrTable1 = new XRTable();
            this.xrTableRow1 = new XRTableRow();
            this.txtOrder = new XRTableCell();
            this.txtEmployeeName = new XRTableCell();
            this.txtSocialInsuranceCode = new XRTableCell();
            this.txtCondition = new XRTableCell();
            this.txtTime = new XRTableCell();
            this.txtProgressAbsent = new XRTableCell();
            this.txtHomeAbsent = new XRTableCell();
            this.txtPublicAbsent = new XRTableCell();
            this.txtMoney = new XRTableCell();
            this.txtFromDate = new XRTableCell();
            this.txtToDate = new XRTableCell();
            this.txtDescription = new XRTableCell();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.ReportHeader = new ReportHeaderBand();
            this.txtWage = new XRLabel();
            this.txtNumberEmployee = new XRLabel();
            this.txtBankAccount = new XRLabel();
            this.txtCompany = new XRLabel();
            this.txtCompanyCode = new XRLabel();
            this.txtCourseMonthYear = new XRLabel();
            this.xrLabel1 = new XRLabel();
            this.xrLabel4 = new XRLabel();
            this.ReportFooter = new ReportFooterBand();
            this.xrTable4 = new XRTable();
            this.xrTableRow6 = new XRTableRow();
            this.xrTableCell23 = new XRTableCell();
            this.xrTableCell26 = new XRTableCell();
            this.xrTableCell27 = new XRTableCell();
            this.xrTableCell28 = new XRTableCell();
            this.xrTableCell29 = new XRTableCell();
            this.xrTableCell30 = new XRTableCell();
            this.xrTableCell31 = new XRTableCell();
            this.xrTableCell32 = new XRTableCell();
            this.xrTableCell33 = new XRTableCell();
            this.xrTableCell34 = new XRTableCell();
            this.xrTableCell35 = new XRTableCell();
            this.xrTableCell36 = new XRTableCell();
            this.xrTable3 = new XRTable();
            this.xrTableRow3 = new XRTableRow();
            this.xrTableCell3 = new XRTableCell();
            this.xrTableCell20 = new XRTableCell();
            this.xrTableCell7 = new XRTableCell();
            this.xrTableCell50 = new XRTableCell();
            this.xrTableRow4 = new XRTableRow();
            this.xrTableCell4 = new XRTableCell();
            this.xrTableCell21 = new XRTableCell();
            this.xrTableCell10 = new XRTableCell();
            this.xrTableCell51 = new XRTableCell();
            this.xrTableRow5 = new XRTableRow();
            this.xrTableCell8 = new XRTableCell();
            this.xrTableCell22 = new XRTableCell();
            this.xrTableCell1 = new XRTableCell();
            this.xrTableCell2 = new XRTableCell();
            this.GroupHeader1 = new GroupHeaderBand();
            this.xrLabel8 = new XRLabel();
            this.xrLabel7 = new XRLabel();
            this.xrLabel6 = new XRLabel();
            this.xrLabel32 = new XRLabel();
            this.xrLabel23 = new XRLabel();
            this.xrLabel20 = new XRLabel();
            this.xrLabel22 = new XRLabel();
            this.xrLabel18 = new XRLabel();
            this.xrLabel19 = new XRLabel();
            this.xrLabel13 = new XRLabel();
            this.xrLabel14 = new XRLabel();
            this.xrLabel12 = new XRLabel();
            this.xrLabel11 = new XRLabel();
            this.xrLabel10 = new XRLabel();
            this.xrTable2 = new XRTable();
            this.xrTableRow2 = new XRTableRow();
            this.xrTableCell24 = new XRTableCell();
            this.xrTableCell15 = new XRTableCell();
            this.xrTableCell14 = new XRTableCell();
            this.xrTableCell16 = new XRTableCell();
            this.xrTableCell25 = new XRTableCell();
            this.xrTableCell5 = new XRTableCell();
            this.xrTableCell18 = new XRTableCell();
            this.xrTableCell17 = new XRTableCell();
            this.xrTableCell19 = new XRTableCell();
            this.xrTableCell11 = new XRTableCell();
            this.xrTableCell9 = new XRTableCell();
            this.xrTableCell6 = new XRTableCell();
            this.xrLabel9 = new XRLabel();
            this.xrTable1.BeginInit();
            this.xrTable4.BeginInit();
            this.xrTable3.BeginInit();
            this.xrTable2.BeginInit();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { this.xrTable1 });
            this.Detail.HeightF = 23.33333f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.xrTable1.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrTable1.Font = new Font("Times New Roman", 8.75f);
            this.xrTable1.LocationFloat = new PointFloat(1.000921f, 0f);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new XRTableRow[] { this.xrTableRow1 });
            this.xrTable1.SizeF = new SizeF(1085f, 23.33333f);
            this.xrTable1.StylePriority.UseBorders = false;
            this.xrTable1.StylePriority.UseFont = false;
            this.xrTableRow1.Cells.AddRange(new XRTableCell[] { this.txtOrder, this.txtEmployeeName, this.txtSocialInsuranceCode, this.txtCondition, this.txtTime, this.txtProgressAbsent, this.txtHomeAbsent, this.txtPublicAbsent, this.txtMoney, this.txtFromDate, this.txtToDate, this.txtDescription });
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableRow1.StylePriority.UsePadding = false;
            this.xrTableRow1.StylePriority.UseTextAlignment = false;
            this.xrTableRow1.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableRow1.Weight = 1.0;
            this.txtOrder.Name = "txtOrder";
            this.txtOrder.Weight = 0.10483622572128667;
            this.txtOrder.BeforePrint += new PrintEventHandler(this.txtOrder_BeforePrint);
            this.txtEmployeeName.Name = "txtEmployeeName";
            this.txtEmployeeName.Text = "[EmployeeName]";
            this.txtEmployeeName.Weight = 0.41117501933969924;
            this.txtSocialInsuranceCode.Name = "txtSocialInsuranceCode";
            this.txtSocialInsuranceCode.Text = "[SocialInsuranceCode]";
            this.txtSocialInsuranceCode.Weight = 0.26843318338519395;
            this.txtCondition.Name = "txtCondition";
            this.txtCondition.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtCondition.StylePriority.UsePadding = false;
            this.txtCondition.StylePriority.UseTextAlignment = false;
            this.txtCondition.Text = "[Condition]";
            this.txtCondition.TextAlignment = TextAlignment.MiddleCenter;
            this.txtCondition.Weight = 0.27407834156470978;
            this.txtTime.Name = "txtTime";
            this.txtTime.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtTime.StylePriority.UsePadding = false;
            this.txtTime.StylePriority.UseTextAlignment = false;
            this.txtTime.Text = "[Time]";
            this.txtTime.TextAlignment = TextAlignment.MiddleCenter;
            this.txtTime.Weight = 0.23536849263017981;
            this.txtProgressAbsent.Name = "txtProgressAbsent";
            this.txtProgressAbsent.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtProgressAbsent.StylePriority.UsePadding = false;
            this.txtProgressAbsent.StylePriority.UseTextAlignment = false;
            this.txtProgressAbsent.Text = "[ProgressAbsent]";
            this.txtProgressAbsent.TextAlignment = TextAlignment.MiddleCenter;
            this.txtProgressAbsent.Weight = 0.23813330793259044;
            this.txtHomeAbsent.Name = "txtHomeAbsent";
            this.txtHomeAbsent.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtHomeAbsent.StylePriority.UsePadding = false;
            this.txtHomeAbsent.StylePriority.UseTextAlignment = false;
            this.txtHomeAbsent.Text = "[HomeAbsent]";
            this.txtHomeAbsent.TextAlignment = TextAlignment.MiddleCenter;
            this.txtHomeAbsent.Weight = 0.31911131266974285;
            this.txtPublicAbsent.Name = "txtPublicAbsent";
            this.txtPublicAbsent.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtPublicAbsent.StylePriority.UsePadding = false;
            this.txtPublicAbsent.StylePriority.UseTextAlignment = false;
            this.txtPublicAbsent.Text = "[PublicAbsent]";
            this.txtPublicAbsent.TextAlignment = TextAlignment.MiddleCenter;
            this.txtPublicAbsent.Weight = 0.30818018049800788;
            this.txtMoney.Name = "txtMoney";
            this.txtMoney.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.txtMoney.StylePriority.UsePadding = false;
            this.txtMoney.StylePriority.UseTextAlignment = false;
            this.txtMoney.Text = "[Money!#,0]";
            this.txtMoney.TextAlignment = TextAlignment.MiddleRight;
            this.txtMoney.Weight = 0.23963101913651674;
            this.txtFromDate.Name = "txtFromDate";
            this.txtFromDate.StylePriority.UseTextAlignment = false;
            this.txtFromDate.Text = "[FromDate!dd/MM/yyyy]";
            this.txtFromDate.TextAlignment = TextAlignment.MiddleCenter;
            this.txtFromDate.Weight = 0.19797109811146713;
            this.txtToDate.Name = "txtToDate";
            this.txtToDate.StylePriority.UseTextAlignment = false;
            this.txtToDate.Text = "[ToDate!dd/MM/yyyy]";
            this.txtToDate.TextAlignment = TextAlignment.MiddleCenter;
            this.txtToDate.Weight = 0.19419424193954712;
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Padding = new PaddingInfo(2, 0, 0, 0, 100f);
            this.txtDescription.StylePriority.UsePadding = false;
            this.txtDescription.StylePriority.UseTextAlignment = false;
            this.txtDescription.Text = "[Description]";
            this.txtDescription.TextAlignment = TextAlignment.MiddleLeft;
            this.txtDescription.Weight = 0.20888757707105854;
            this.TopMargin.HeightF = 38f;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.HeightF = 48f;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.ReportHeader.Controls.AddRange(new XRControl[] { this.txtWage, this.txtNumberEmployee, this.txtBankAccount, this.txtCompany, this.txtCompanyCode, this.txtCourseMonthYear, this.xrLabel1, this.xrLabel4 });
            this.ReportHeader.HeightF = 190f;
            this.ReportHeader.Name = "ReportHeader";
            this.txtWage.Font = new Font("Times New Roman", 9.75f);
            this.txtWage.LocationFloat = new PointFloat(302.0426f, 154.2916f);
            this.txtWage.Name = "txtWage";
            this.txtWage.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtWage.SizeF = new SizeF(621.9165f, 17.70834f);
            this.txtWage.StylePriority.UseFont = false;
            this.txtWage.StylePriority.UseTextAlignment = false;
            this.txtWage.Text = "Tổng quỹ lương trong (th\x00e1ng) qu\x00fd: ................................................................................................";
            this.txtWage.TextAlignment = TextAlignment.MiddleLeft;
            this.txtNumberEmployee.Font = new Font("Times New Roman", 9.75f);
            this.txtNumberEmployee.LocationFloat = new PointFloat(302.0426f, 136.2917f);
            this.txtNumberEmployee.Name = "txtNumberEmployee";
            this.txtNumberEmployee.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtNumberEmployee.SizeF = new SizeF(621.9165f, 17.70837f);
            this.txtNumberEmployee.StylePriority.UseFont = false;
            this.txtNumberEmployee.StylePriority.UseTextAlignment = false;
            this.txtNumberEmployee.Text = "Tổng số lao động: ................................. Trong đ\x00f3 nữ: ....................................";
            this.txtNumberEmployee.TextAlignment = TextAlignment.MiddleLeft;
            this.txtBankAccount.Font = new Font("Times New Roman", 9.75f);
            this.txtBankAccount.LocationFloat = new PointFloat(302.0426f, 116.7083f);
            this.txtBankAccount.Name = "txtBankAccount";
            this.txtBankAccount.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtBankAccount.SizeF = new SizeF(621.9165f, 17.70834f);
            this.txtBankAccount.StylePriority.UseFont = false;
            this.txtBankAccount.StylePriority.UseTextAlignment = false;
            this.txtBankAccount.Text = "Số hiệu t\x00e0i khoản: ............................................ mở tại: ..................................................";
            this.txtBankAccount.TextAlignment = TextAlignment.MiddleLeft;
            this.txtCompany.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompany.LocationFloat = new PointFloat(1.000922f, 24.70834f);
            this.txtCompany.Name = "txtCompany";
            this.txtCompany.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompany.SizeF = new SizeF(462.1666f, 17.70833f);
            this.txtCompany.StylePriority.UseFont = false;
            this.txtCompany.Text = "txtCompany";
            this.txtCompanyCode.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompanyCode.LocationFloat = new PointFloat(1.000922f, 6.208344f);
            this.txtCompanyCode.Name = "txtCompanyCode";
            this.txtCompanyCode.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompanyCode.SizeF = new SizeF(462.1666f, 17.70833f);
            this.txtCompanyCode.StylePriority.UseFont = false;
            this.txtCompanyCode.Text = "M\x00e3 đơn vị:__/__ ____";
            this.txtCourseMonthYear.Font = new Font("Times New Roman", 9.75f);
            this.txtCourseMonthYear.LocationFloat = new PointFloat(4.768372E-05f, 99.00001f);
            this.txtCourseMonthYear.Name = "txtCourseMonthYear";
            this.txtCourseMonthYear.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCourseMonthYear.SizeF = new SizeF(1085f, 17.70834f);
            this.txtCourseMonthYear.StylePriority.UseFont = false;
            this.txtCourseMonthYear.StylePriority.UseTextAlignment = false;
            this.txtCourseMonthYear.Text = "Th\x00e1ng ...... qu\x00fd ...... năm ...............";
            this.txtCourseMonthYear.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel1.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel1.LocationFloat = new PointFloat(803.7509f, 6.00001f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel1.SizeF = new SizeF(281.249f, 17.70833f);
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text = "Mẩu số: C68a-HD";
            this.xrLabel1.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel4.Font = new Font("Times New Roman", 16f, FontStyle.Bold);
            this.xrLabel4.LocationFloat = new PointFloat(3.178914E-05f, 68.75f);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel4.SizeF = new SizeF(1085f, 30.25001f);
            this.xrLabel4.StylePriority.UseFont = false;
            this.xrLabel4.StylePriority.UseTextAlignment = false;
            this.xrLabel4.Text = "DANH S\x00c1CH NGƯỜI LAO ĐỘNG ĐỀ NGHỊ HƯỞNG TRỢ CẤP NGHỈ DSPHSK SAU CHẾ ĐỘ ỐM ĐAU";
            this.xrLabel4.TextAlignment = TextAlignment.MiddleCenter;
            this.ReportFooter.Controls.AddRange(new XRControl[] { this.xrTable4, this.xrTable3 });
            this.ReportFooter.HeightF = 160f;
            this.ReportFooter.Name = "ReportFooter";
            this.xrTable4.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrTable4.Font = new Font("Times New Roman", 8.75f, FontStyle.Bold);
            this.xrTable4.LocationFloat = new PointFloat(0f, 0f);
            this.xrTable4.Name = "xrTable4";
            this.xrTable4.Rows.AddRange(new XRTableRow[] { this.xrTableRow6 });
            this.xrTable4.SizeF = new SizeF(1085f, 23.33333f);
            this.xrTable4.StylePriority.UseBorders = false;
            this.xrTable4.StylePriority.UseFont = false;
            this.xrTableRow6.Cells.AddRange(new XRTableCell[] { this.xrTableCell23, this.xrTableCell26, this.xrTableCell27, this.xrTableCell28, this.xrTableCell29, this.xrTableCell30, this.xrTableCell31, this.xrTableCell32, this.xrTableCell33, this.xrTableCell34, this.xrTableCell35, this.xrTableCell36 });
            this.xrTableRow6.Name = "xrTableRow6";
            this.xrTableRow6.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableRow6.StylePriority.UsePadding = false;
            this.xrTableRow6.StylePriority.UseTextAlignment = false;
            this.xrTableRow6.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableRow6.Weight = 1.0;
            this.xrTableCell23.Name = "xrTableCell23";
            this.xrTableCell23.Weight = 0.10483622572128667;
            this.xrTableCell26.Name = "xrTableCell26";
            this.xrTableCell26.StylePriority.UseTextAlignment = false;
            this.xrTableCell26.Text = "Tổng cộng";
            this.xrTableCell26.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell26.Weight = 0.41394256990043515;
            this.xrTableCell27.Name = "xrTableCell27";
            this.xrTableCell27.Weight = 0.268433204480294;
            this.xrTableCell28.Name = "xrTableCell28";
            this.xrTableCell28.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell28.StylePriority.UsePadding = false;
            this.xrTableCell28.StylePriority.UseTextAlignment = false;
            this.xrTableCell28.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell28.Weight = 0.27407825718430945;
            this.xrTableCell29.Name = "xrTableCell29";
            this.xrTableCell29.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell29.StylePriority.UsePadding = false;
            this.xrTableCell29.StylePriority.UseTextAlignment = false;
            this.xrTableCell29.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell29.Weight = 0.23536840824977945;
            this.xrTableCell30.Name = "xrTableCell30";
            this.xrTableCell30.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell30.StylePriority.UsePadding = false;
            this.xrTableCell30.StylePriority.UseTextAlignment = false;
            this.xrTableCell30.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell30.Weight = 0.2381333923129908;
            this.xrTableCell31.Name = "xrTableCell31";
            this.xrTableCell31.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell31.StylePriority.UsePadding = false;
            this.xrTableCell31.StylePriority.UseTextAlignment = false;
            this.xrTableCell31.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell31.Weight = 0.31911150252564363;
            this.xrTableCell32.Name = "xrTableCell32";
            this.xrTableCell32.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell32.StylePriority.UsePadding = false;
            this.xrTableCell32.StylePriority.UseTextAlignment = false;
            this.xrTableCell32.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell32.Weight = 0.30818001173720716;
            this.xrTableCell33.Name = "xrTableCell33";
            this.xrTableCell33.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell33.StylePriority.UsePadding = false;
            this.xrTableCell33.StylePriority.UseTextAlignment = false;
            this.xrTableCell33.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell33.Weight = 0.23963106132671691;
            this.xrTableCell34.Name = "xrTableCell34";
            this.xrTableCell34.Weight = 0.19797105592126696;
            this.xrTableCell35.Name = "xrTableCell35";
            this.xrTableCell35.Weight = 0.19419441070034782;
            this.xrTableCell36.Name = "xrTableCell36";
            this.xrTableCell36.Padding = new PaddingInfo(0, 2, 0, 0, 100f);
            this.xrTableCell36.StylePriority.UsePadding = false;
            this.xrTableCell36.StylePriority.UseTextAlignment = false;
            this.xrTableCell36.TextAlignment = TextAlignment.MiddleRight;
            this.xrTableCell36.Weight = 0.20611989993972213;
            this.xrTable3.LocationFloat = new PointFloat(0f, 64.83338f);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new XRTableRow[] { this.xrTableRow3, this.xrTableRow4, this.xrTableRow5 });
            this.xrTable3.SizeF = new SizeF(1085f, 75.95839f);
            this.xrTableRow3.Cells.AddRange(new XRTableCell[] { this.xrTableCell3, this.xrTableCell20, this.xrTableCell7, this.xrTableCell50 });
            this.xrTableRow3.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.StylePriority.UseFont = false;
            this.xrTableRow3.Weight = 1.0;
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.Weight = 0.34755607257229287;
            this.xrTableCell20.Name = "xrTableCell20";
            this.xrTableCell20.Weight = 0.34610837947349543;
            this.xrTableCell7.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseFont = false;
            this.xrTableCell7.StylePriority.UseTextAlignment = false;
            this.xrTableCell7.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell7.Weight = 0.31577956561294773;
            this.xrTableCell50.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell50.Name = "xrTableCell50";
            this.xrTableCell50.StylePriority.UseFont = false;
            this.xrTableCell50.StylePriority.UseTextAlignment = false;
            this.xrTableCell50.Text = "Ng\x00e0y......... th\x00e1ng........ năm...............";
            this.xrTableCell50.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell50.Weight = 0.49862038596309577;
            this.xrTableRow4.Cells.AddRange(new XRTableCell[] { this.xrTableCell4, this.xrTableCell21, this.xrTableCell10, this.xrTableCell51 });
            this.xrTableRow4.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableRow4.Name = "xrTableRow4";
            this.xrTableRow4.StylePriority.UseFont = false;
            this.xrTableRow4.Weight = 0.62887999308103826;
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.StylePriority.UseTextAlignment = false;
            this.xrTableCell4.Text = "Người lập";
            this.xrTableCell4.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell4.Weight = 0.34755603015526682;
            this.xrTableCell21.Name = "xrTableCell21";
            this.xrTableCell21.StylePriority.UseTextAlignment = false;
            this.xrTableCell21.Text = "C\x00f4ng đo\x00e0n cơ sở";
            this.xrTableCell21.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell21.Weight = 0.34610842189052149;
            this.xrTableCell10.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseFont = false;
            this.xrTableCell10.StylePriority.UseTextAlignment = false;
            this.xrTableCell10.Text = "Kế to\x00e1n trưởng";
            this.xrTableCell10.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell10.Weight = 0.31577956561294773;
            this.xrTableCell51.Name = "xrTableCell51";
            this.xrTableCell51.StylePriority.UseTextAlignment = false;
            this.xrTableCell51.Text = "Thủ trưởng";
            this.xrTableCell51.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell51.Weight = 0.49862038596309577;
            this.xrTableRow5.Cells.AddRange(new XRTableCell[] { this.xrTableCell8, this.xrTableCell22, this.xrTableCell1, this.xrTableCell2 });
            this.xrTableRow5.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableRow5.Name = "xrTableRow5";
            this.xrTableRow5.StylePriority.UseFont = false;
            this.xrTableRow5.StylePriority.UseTextAlignment = false;
            this.xrTableRow5.TextAlignment = TextAlignment.TopCenter;
            this.xrTableRow5.Weight = 0.83130953704733324;
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Text = "(K\x00fd, họ t\x00ean)";
            this.xrTableCell8.Weight = 0.34755598773824081;
            this.xrTableCell22.Name = "xrTableCell22";
            this.xrTableCell22.Text = "(K\x00fd, đ\x00f3ng dấu)";
            this.xrTableCell22.Weight = 0.34610837947349549;
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.Text = "(K\x00fd, họ t\x00ean)";
            this.xrTableCell1.Weight = 0.31577965044699979;
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.Text = "(K\x00fd, đ\x00f3ng dấu)";
            this.xrTableCell2.Weight = 0.49862038596309577;
            this.GroupHeader1.Controls.AddRange(new XRControl[] { this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel32, this.xrLabel23, this.xrLabel20, this.xrLabel22, this.xrLabel18, this.xrLabel19, this.xrLabel13, this.xrLabel14, this.xrLabel12, this.xrLabel11, this.xrLabel10, this.xrTable2, this.xrLabel9 });
            this.GroupHeader1.HeightF = 120f;
            this.GroupHeader1.Name = "GroupHeader1";
            this.xrLabel8.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel8.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel8.LocationFloat = new PointFloat(867.6201f, 0f);
            this.xrLabel8.Name = "xrLabel8";
            this.xrLabel8.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel8.SizeF = new SizeF(141.8332f, 25.42f);
            this.xrLabel8.StylePriority.UseBorders = false;
            this.xrLabel8.StylePriority.UseFont = false;
            this.xrLabel8.StylePriority.UseTextAlignment = false;
            this.xrLabel8.Text = "Ng\x00e0y nghỉ dưỡng sức";
            this.xrLabel8.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel7.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel7.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel7.LocationFloat = new PointFloat(867.6201f, 25f);
            this.xrLabel7.Name = "xrLabel7";
            this.xrLabel7.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel7.SizeF = new SizeF(70.37988f, 74.00001f);
            this.xrLabel7.StylePriority.UseBorders = false;
            this.xrLabel7.StylePriority.UseFont = false;
            this.xrLabel7.StylePriority.UseTextAlignment = false;
            this.xrLabel7.Text = "Từ ng\x00e0y";
            this.xrLabel7.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel6.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel6.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel6.LocationFloat = new PointFloat(938f, 25f);
            this.xrLabel6.Name = "xrLabel6";
            this.xrLabel6.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel6.SizeF = new SizeF(71.45331f, 74.00001f);
            this.xrLabel6.StylePriority.UseBorders = false;
            this.xrLabel6.StylePriority.UseFont = false;
            this.xrLabel6.StylePriority.UseTextAlignment = false;
            this.xrLabel6.Text = "Đến ng\x00e0y";
            this.xrLabel6.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel32.Borders = BorderSide.Right | BorderSide.Top | BorderSide.Left;
            this.xrLabel32.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel32.LocationFloat = new PointFloat(1009.453f, 0f);
            this.xrLabel32.Name = "xrLabel32";
            this.xrLabel32.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel32.SizeF = new SizeF(75.54669f, 99.00001f);
            this.xrLabel32.StylePriority.UseBorders = false;
            this.xrLabel32.StylePriority.UseFont = false;
            this.xrLabel32.StylePriority.UseTextAlignment = false;
            this.xrLabel32.Text = "Ghi ch\x00fa";
            this.xrLabel32.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel23.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel23.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel23.LocationFloat = new PointFloat(553.2499f, 0f);
            this.xrLabel23.Name = "xrLabel23";
            this.xrLabel23.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel23.SizeF = new SizeF(314.3701f, 21.99999f);
            this.xrLabel23.StylePriority.UseBorders = false;
            this.xrLabel23.StylePriority.UseFont = false;
            this.xrLabel23.StylePriority.UseTextAlignment = false;
            this.xrLabel23.Text = "Số đề nghị";
            this.xrLabel23.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel20.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel20.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel20.LocationFloat = new PointFloat(780.9534f, 22.50001f);
            this.xrLabel20.Name = "xrLabel20";
            this.xrLabel20.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel20.SizeF = new SizeF(86.66669f, 76.5f);
            this.xrLabel20.StylePriority.UseBorders = false;
            this.xrLabel20.StylePriority.UseFont = false;
            this.xrLabel20.StylePriority.UseTextAlignment = false;
            this.xrLabel20.Text = "Số tiền";
            this.xrLabel20.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel22.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel22.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel22.LocationFloat = new PointFloat(553.25f, 22.50001f);
            this.xrLabel22.Name = "xrLabel22";
            this.xrLabel22.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel22.SizeF = new SizeF(227.7034f, 25.42f);
            this.xrLabel22.StylePriority.UseBorders = false;
            this.xrLabel22.StylePriority.UseFont = false;
            this.xrLabel22.StylePriority.UseTextAlignment = false;
            this.xrLabel22.Text = "Số ng\x00e0y nghỉ trong kỳ";
            this.xrLabel22.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel18.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel18.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel18.LocationFloat = new PointFloat(669.4951f, 47.75f);
            this.xrLabel18.Name = "xrLabel18";
            this.xrLabel18.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel18.SizeF = new SizeF(111.4583f, 51.25001f);
            this.xrLabel18.StylePriority.UseBorders = false;
            this.xrLabel18.StylePriority.UseFont = false;
            this.xrLabel18.StylePriority.UseTextAlignment = false;
            this.xrLabel18.Text = "Nghỉ tập trung";
            this.xrLabel18.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel19.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel19.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel19.LocationFloat = new PointFloat(553.25f, 47.91667f);
            this.xrLabel19.Name = "xrLabel19";
            this.xrLabel19.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel19.SizeF = new SizeF(116.2451f, 51.25001f);
            this.xrLabel19.StylePriority.UseBorders = false;
            this.xrLabel19.StylePriority.UseFont = false;
            this.xrLabel19.StylePriority.UseTextAlignment = false;
            this.xrLabel19.Text = "Nghỉ tại gia đ\x00ecnh";
            this.xrLabel19.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel13.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel13.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel13.LocationFloat = new PointFloat(382.8333f, 0f);
            this.xrLabel13.Name = "xrLabel13";
            this.xrLabel13.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel13.SizeF = new SizeF(85.12494f, 99.16668f);
            this.xrLabel13.StylePriority.UseBorders = false;
            this.xrLabel13.StylePriority.UseFont = false;
            this.xrLabel13.StylePriority.UseTextAlignment = false;
            this.xrLabel13.Text = "Thời gian đ\x00f3ng BHXH";
            this.xrLabel13.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel14.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel14.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel14.LocationFloat = new PointFloat(467.9583f, 0f);
            this.xrLabel14.Name = "xrLabel14";
            this.xrLabel14.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel14.SizeF = new SizeF(86.12491f, 99.00001f);
            this.xrLabel14.StylePriority.UseBorders = false;
            this.xrLabel14.StylePriority.UseFont = false;
            this.xrLabel14.StylePriority.UseTextAlignment = false;
            this.xrLabel14.Text = "Lũy kế số ng\x00e0y nghỉ hưởng trợ cấp ốm đau";
            this.xrLabel14.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel12.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel12.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel12.LocationFloat = new PointFloat(283.7083f, 0f);
            this.xrLabel12.Name = "xrLabel12";
            this.xrLabel12.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel12.SizeF = new SizeF(99.12494f, 99.16668f);
            this.xrLabel12.StylePriority.UseBorders = false;
            this.xrLabel12.StylePriority.UseFont = false;
            this.xrLabel12.StylePriority.UseTextAlignment = false;
            this.xrLabel12.Text = "Điều kiện t\x00ednh hưởng";
            this.xrLabel12.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel11.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel11.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel11.LocationFloat = new PointFloat(186.625f, 0f);
            this.xrLabel11.Name = "xrLabel11";
            this.xrLabel11.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel11.SizeF = new SizeF(97.08331f, 99.16668f);
            this.xrLabel11.StylePriority.UseBorders = false;
            this.xrLabel11.StylePriority.UseFont = false;
            this.xrLabel11.StylePriority.UseTextAlignment = false;
            this.xrLabel11.Text = "Số sổ BHXH";
            this.xrLabel11.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel10.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel10.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel10.LocationFloat = new PointFloat(37.91669f, 0f);
            this.xrLabel10.Name = "xrLabel10";
            this.xrLabel10.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel10.SizeF = new SizeF(148.7083f, 99.16668f);
            this.xrLabel10.StylePriority.UseBorders = false;
            this.xrLabel10.StylePriority.UseFont = false;
            this.xrLabel10.StylePriority.UseTextAlignment = false;
            this.xrLabel10.Text = "Họ v\x00e0 t\x00ean";
            this.xrLabel10.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTable2.Borders = BorderSide.All;
            this.xrTable2.Font = new Font("Times New Roman", 8.75f);
            this.xrTable2.LocationFloat = new PointFloat(6.357829E-05f, 99.16668f);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Rows.AddRange(new XRTableRow[] { this.xrTableRow2 });
            this.xrTable2.SizeF = new SizeF(1085f, 20.83334f);
            this.xrTable2.StylePriority.UseBorders = false;
            this.xrTable2.StylePriority.UseFont = false;
            this.xrTableRow2.Cells.AddRange(new XRTableCell[] { this.xrTableCell24, this.xrTableCell15, this.xrTableCell14, this.xrTableCell16, this.xrTableCell25, this.xrTableCell5, this.xrTableCell18, this.xrTableCell17, this.xrTableCell19, this.xrTableCell11, this.xrTableCell9, this.xrTableCell6 });
            this.xrTableRow2.Font = new Font("Times New Roman", 8.75f, FontStyle.Bold);
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.StylePriority.UseFont = false;
            this.xrTableRow2.StylePriority.UseTextAlignment = false;
            this.xrTableRow2.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableRow2.Weight = 1.0;
            this.xrTableCell24.Name = "xrTableCell24";
            this.xrTableCell24.Text = "A";
            this.xrTableCell24.Weight = 0.10483859892004169;
            this.xrTableCell15.Name = "xrTableCell15";
            this.xrTableCell15.Text = "B";
            this.xrTableCell15.Weight = 0.41394002794087464;
            this.xrTableCell14.Name = "xrTableCell14";
            this.xrTableCell14.Text = "C";
            this.xrTableCell14.Weight = 0.26843320096443374;
            this.xrTableCell16.Name = "xrTableCell16";
            this.xrTableCell16.Text = "D";
            this.xrTableCell16.Weight = 0.27407834156471467;
            this.xrTableCell25.Name = "xrTableCell25";
            this.xrTableCell25.Text = "1";
            this.xrTableCell25.Weight = 0.23260343441826287;
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.Text = "2";
            this.xrTableCell5.Weight = 0.24089811513384948;
            this.xrTableCell18.Name = "xrTableCell18";
            this.xrTableCell18.Text = "3";
            this.xrTableCell18.Weight = 0.31911165050749118;
            this.xrTableCell17.Name = "xrTableCell17";
            this.xrTableCell17.Text = "4";
            this.xrTableCell17.Weight = 0.30818000360353176;
            this.xrTableCell19.Name = "xrTableCell19";
            this.xrTableCell19.Text = "5";
            this.xrTableCell19.Weight = 0.23963122151585256;
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.Text = "E";
            this.xrTableCell11.Weight = 0.19183360621847356;
            this.xrTableCell9.Name = "xrTableCell9";
            this.xrTableCell9.Text = "F";
            this.xrTableCell9.Weight = 0.20033172271560495;
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.Text = "G";
            this.xrTableCell6.Weight = 0.20612007649686911;
            this.xrLabel9.Borders = BorderSide.Top | BorderSide.Left;
            this.xrLabel9.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel9.LocationFloat = new PointFloat(0f, 0f);
            this.xrLabel9.Name = "xrLabel9";
            this.xrLabel9.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel9.SizeF = new SizeF(37.9167f, 99.16668f);
            this.xrLabel9.StylePriority.UseBorders = false;
            this.xrLabel9.StylePriority.UseFont = false;
            this.xrLabel9.StylePriority.UseTextAlignment = false;
            this.xrLabel9.Text = "Số TT";
            this.xrLabel9.TextAlignment = TextAlignment.MiddleCenter;
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.ReportHeader, this.ReportFooter, this.GroupHeader1 });
            base.Landscape = true;
            base.Margins = new Margins(50, 0x22, 0x26, 0x30);
            base.PageHeight = 0x33b;
            base.PageWidth = 0x491;
            base.PaperKind = PaperKind.A4;
            base.Version = "9.3";
            this.BeforePrint += new PrintEventHandler(this.rpt03aTBH_BeforePrint);
            this.xrTable1.EndInit();
            this.xrTable4.EndInit();
            this.xrTable3.EndInit();
            this.xrTable2.EndInit();
            this.EndInit();
        }

        private void LoadD02TS()
        {
            DataSet set = new DataSet();
            DataTable list = new DataTable();
            list = this.cls.GetList(this.m_PayInsuranceTableListID);
            set.Tables.Add(list);
            base.DataSource = set;
            base.DataMember = list.TableName;
            base.DataAdapter = list;
        }

        private void rpt03aTBH_BeforePrint(object sender, PrintEventArgs e)
        {
            ////if (MyInfo.Get(MyEncryption.Encrypt("ERP01", "123654", true)) == "OK")
            {
                this.txtCompanyCode.Text = "M\x00e3 đơn vị: " + "";// MyInfo.CompanyCode;
                this.txtCompany.Text = "T\x00ean đơn vị: " + "";//MyInfo.Company;
                this.txtBankAccount.Text = "Số t\x00e0i khoản:  " + ""//MyInfo.BankAccount.ToUpper() 
                + "   mở tại: " + "";//MyInfo.OpenedAt.ToUpper();
            }
            HRM_PAYINSURANCE_TABLELIST hrm_payinsurance_tablelist = new HRM_PAYINSURANCE_TABLELIST();
            hrm_payinsurance_tablelist.Get(this.m_PayInsuranceTableListID);
            this.txtCourseMonthYear.Text = "Qu\x00fd: " + hrm_payinsurance_tablelist.Quarter.ToString() + " Th\x00e1ng " + hrm_payinsurance_tablelist.Month.ToString() + " Năm " + hrm_payinsurance_tablelist.Year.ToString();
            this.txtNumberEmployee.Text = "Tổng số lao động:        " + hrm_payinsurance_tablelist.NumberEmployee.ToString() + " (người)        Trong đ\x00f3 nữ:  " + hrm_payinsurance_tablelist.NumberEmployeeFemale.ToString() + " (người)";
            this.txtWage.Text = "Tổng quỹ lương trong th\x00e1ng (qu\x00fd):     " + hrm_payinsurance_tablelist.Wage.ToString("#,0");
            this.LoadD02TS();
        }

        private void txtOrder_BeforePrint(object sender, PrintEventArgs e)
        {
            this.m_Order++;
            this.txtOrder.Text = this.m_Order.ToString();
        }
    }
}

